package com.schedule;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

@SpringBootApplication
@MapperScan("com.schedule.mapper")
public class PeSysApplication {

    public static void main(String[] args) {
        SpringApplication.run(PeSysApplication.class, args);
//        BCryptPasswordEncoder bCryptPasswordEncoder=new BCryptPasswordEncoder();
//        String encode=bCryptPasswordEncoder.encode("123");
//        System.out.println(encode);
//        boolean match=bCryptPasswordEncoder.matches("123","$2a$10$0MkuqWDNcbZ.4AHAkdPd7ugCrWibQUk8Lc2lTquL7rwhuP2GhfpRq");
//        System.out.println(match);

    }

}
